//
//  BLTouchBackground.h
//  BLTouchBackground.h
//
//  Created by 郑林琴 on 15/2/7.
//  Copyright (c) 2015年 Binglin All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 *  灰色背景 点击界面消失
 */

@interface BLTouchBackground : UIView

@property (nonatomic, assign) BOOL touchDismiss;
@property (nonatomic, strong) IBOutlet UIView * bottomContainer;
@property (nonatomic, copy) dispatch_block_t completion;//dismissed

+ (instancetype)touchBackground;

/*子类实现*/
- (void)dismiss;
- (void)showFromView:(UIView *)view;
- (void)showFromPoint:(CGPoint)point;

- (UIView *)animateView;
- (CGRect )touchDismissRect;
/*end*/

@end
